package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcYingShiCamera;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.dto.yingshi.YingShiCameraQueryDto;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.csun.cmny.provider.model.vo.yingshi.YingShiCameraVo;
import com.csun.cmny.provider.model.vo.yingshi.YsCameraChannelVo;
import com.csun.cmny.provider.model.vo.yingshi.YsCameraVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcYingShiCameraMapper extends Mapper<DmcYingShiCamera> {

    /**
     * 查询萤石摄像头列表 - 分页
     *
     * @param yingShiCameraQueryDto the ying shi camera query dto
     *
     * @return  the ying shi camera vo list.
     */
    List<YingShiCameraVo> queryListWithPage(YingShiCameraQueryDto yingShiCameraQueryDto);

    /**
     * 查询萤石摄像头的数据
     *
     * @param selectDeviceDataDto   the select device data dto
     *
     * @return  the property data vo
     */
    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);

    /**
     * 查询摄像头通道列表
     *
     * @param yingShiCameraQueryDto the ying shi camera query dto
     *
     * @return  the ying shi camera channel vo list.
     */
    List<YsCameraChannelVo> getChannelList(YingShiCameraQueryDto yingShiCameraQueryDto);

    /**
     * 根据机构id获取摄像头及通道
     *
     * @param groupId   the group id
     *
     * @return  the ying shi camera vo list.
     */
    List<YsCameraVo> getCameraChannelList(Long groupId);
}